 package com.oanda.blackberry.ui;
 
 import net.rim.device.api.ui.Graphics;
 import net.rim.device.api.ui.component.CheckboxField;
 
 public class ColoredCheckboxField extends CheckboxField
 {
   int fontColor;
 
   public ColoredCheckboxField(int fontColor, String label, boolean isChecked)
   {
     super(label, isChecked);
     this.fontColor = fontColor;
   }
 
   public ColoredCheckboxField(int fontColor, String label, boolean isChecked, long stype) {
     super(label, isChecked, stype);
     this.fontColor = fontColor;
   }
 
   public void paint(Graphics graphics) {
     graphics.setColor(this.fontColor);
     super.paint(graphics);
   }
}

